# Desc: bfposition plugin makefile
# CVS: $Id: Makefile.example,v 1.6 2005/08/17 23:55:59 gerkey Exp $

all: libbfposition.so

%.o: %.cc
	$(CXX) -Wall -fpic -g3 `pkg-config --cflags playercore` -c $<

libbfposition.so: bfposition.o
	$(CXX) -shared -nostartfiles -o $@ $<

clean:
	rm -f *.o *.so
